<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程成绩排名</title>
    <%@ include file="/pages/common/head_base.jsp"%>
    <style type="text/css">
        h1 {
            text-align: center;
            margin-top: 200px;
        }

        h1 a {
            color: red;
        }

        input {
            text-align: center;
        }
    </style>
</head>
<body>

<div id="header">
    <span class="wel_word">课程成绩排名</span>
    <%@ include file="/pages/common/manager_menu.jsp"%>
</div>

<div align="center">

</div>

<div id="main">
        <table>
            <tr>
                <td>班号</td>
                <td>姓名</td>
                <td>课程名</td>
                <td>成绩</td>
                <td colspan="2">操作</td>
            </tr>
            <c:forEach items="${requestScope.s_sc_cList}" var="list">
            <tr>
                <td><input name="classno" type="text" value = "${list.classno}" readonly="readonly" style="background-color: yellowgreen"/></td>
                <td><input name="sname" type="text" value = "${list.sname}" readonly="readonly" style="background-color: yellowgreen"/></td>
                <td><input name="cname" type="text" value = "${list.cname}" readonly="readonly" style="background-color: yellowgreen"/></td>
                <td><input name="grade" type="text" value = "${list.grade}"/></td>
                <td><a href="scServlet?action=findSC&sno=${list.sno}&cno=${list.cno}">查看</a></td>
            </tr>
            </c:forEach>
        </table>
</div>

<%@ include file="/pages/common/footer.jsp"%>
</body>
</html>